<?php
namespace app\admin\controller;

use think\Controller;
use app\admin\model\Account as AccountModel;
use think\Session;
use app\admin\controller\AdminBase;

class Come extends  AdminBase{

    //用户登录展示页面
    public function index(){


        //$UserID = Session::get("userid");
        $UserID = $this->UserID;
       
        //初始化模型

        $accountModel = new AccountModel();

        $data = $accountModel->where('user_id', $UserID)->find();

        $this->assign('data',$data);

        return $this->fetch();
    }
}
